<div class="list-group list-group-root">
  {% if root_page.indexed %}
  {% include pages_index_entry.html root_page=root_page %}
  {% endif %}
</div>

<script type="text/javascript">
  $(function() {
    $('.list-group-toggle').on('click', function() {
      $(this).find('span').toggleClass(
        'glyphicon-chevron-up glyphicon-chevron-down'
      );
    });
  });
</script>
